package com.shiyu.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shiyu.exam.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {


    List<Category> getCategoriesAndCount();

    List<Category> getCateTree();

    void saveCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Long id);
}